﻿using Microsoft.EntityFrameworkCore;
using Model;

namespace DAL
{
    public class Context : DbContext
    {
        public Context(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 管理员表
        /// </summary>
        public DbSet<Admin_Model> Admin_Model {  get; set; }
        /// <summary>
        /// 房号表
        /// </summary>
        public DbSet<FangHao_Model> FangHao_Model {  get; set; }
        /// <summary>
        /// 房价表
        /// </summary>
        public DbSet<FangJia_Model> FangJia_Model {  get; set; }
        /// <summary>
        /// 门店表
        /// </summary>
        public DbSet<MenDian_Model> MenDian_Model {  get; set; }

    }
}
